import $axios from './index.js'

function trademarkList(data) {
  const url = '/trademark/list'
  return $axios.get(url, data)
}
function addTrademark(data) {
  const url = '/trademark/add'
  return $axios.post(url, data)
}
function editTrademark(data) {
  const url = '/trademark/edit'
  return $axios.post(url, data)
}

function deleteTrademark(data) {
  const url = '/trademark/del'
  return $axios.post(url, data)
}
function trademarkDetial(data) {
  const url = '/trademark/read'
  return $axios.get(url, data)
}

export default {
  trademarkList,
  addTrademark,
  editTrademark,
  deleteTrademark,
  trademarkDetial
}
